package cn.shengchao.examstar.distribute.infrastrure.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import lombok.Data;
import top.continew.starter.extension.crud.model.entity.BaseIdDO;

@Data
@TableName(value = "distribute_task_prepare_sale")
public class DistributeTaskPrepareSale extends BaseIdDO {

    /**
     * 订单id
     */
    @TableField(value = "order_id")
    private Long orderId;

    /**
     * 任务id
     */
    @TableField(value = "distribute_task_id")
    private Long distributeTaskId;

    /**
     * 邀请记录id
     */
    @TableField(value = "distribute_invite_id")
    private Long distributeInviteId;

    /**
     * 推广用户id
     */
    @TableField(value = "sale_distribute_user_id")
    private Long saleDistributeUserId;


    /**
     * 供应商用户节点id
     */
    @TableField(value = "sale_distribute_node_id")
    private Long saleDistributeNodeId;


    /**
     * 分销比例
     */
    @TableField(value = "stable_percent")
    private BigDecimal stablePercent;

    /**
     * 0记录，1分销完成
     */
    @TableField(value = "`status`")
    private Integer status;

}